/**
 * 
 */
package com.tx.problem;

/**
 * 
 * @author wanghy
 * @since 2013-9-16
 * 
 */
public class Leaf {

	int i = 0;
	Leaf increment() {
		i++;
		return this;
	}
	
	public static void main(String[] args) {
		Leaf leaf = new Leaf();
		System.out.println(leaf.i);
		System.out.println(leaf == leaf.increment());
		System.out.println(leaf.increment().i);
	}
}
